/*
 * JustThread.cpp
 *
 *  Created on: 29.10.2013
 *      Author: ulgish
 */

#include <lab1/JustThread.h>
#include <iostream>
#include <unistd.h>
#include <string>
using std::cout;
using std::endl;
namespace DT {

JustThread::JustThread() {

}

void *JustThread::run(void *arg)
{
	char c = *((char*) arg);
	std::string temp("");
	temp += c;
	temp += "\n";
	for (int i = 0; i < 10; i++){
		DT::writer << temp;
	}
	return NULL;
}

JustThread::~JustThread() {
}

}
